import request from '@/utils/request'

// 查询散射图列表
export function listScatter(query) {
  return request({
    url: '/radar/scatter/list',
    method: 'get',
    params: query
  })
}

// 查询散射图详细
export function getScatter(atTime) {
  return request({
    url: '/radar/scatter/' + atTime,
    method: 'get'
  })
}

// 新增散射图
export function addScatter(data) {
  return request({
    url: '/radar/scatter',
    method: 'post',
    data: data
  })
}

// 修改散射图
export function updateScatter(data) {
  return request({
    url: '/radar/scatter',
    method: 'put',
    data: data
  })
}

// 删除散射图
export function delScatter(atTime) {
  return request({
    url: '/radar/scatter/' + atTime,
    method: 'delete'
  })
}
